// Expanding Code Box @ http://digwp.com/2009/07/making-an-expanding-code-box/
$(function(){
  $('pre').hover(function() {
    var codeInnerWidth = $('code',this).width() + 15;
    if(codeInnerWidth >= 555){
      $(this).stop(true,false).css({'overflow':'auto'}).animate({width:890},{'duration':'fast','easing':'swing'});    
    }else if(codeInnerWidth > 890){
      $(this).stop(true,false).css({'overflow-x':'scroll'}).animate({width:890},{'duration':'fast','easing':'swing'});
    }
  },function(){
    $(this).stop(true,false).css({'overflow':'hidden'}).animate({width:555},{'duration':'fast','easing':'swing'});
  });
});